package routers

import (
	"github.com/gin-gonic/gin"
	"go_src/controller"
)

func LoadAnnouncement(e *gin.Engine) {

	e.GET("/announcement", controller.GetAnnouncementList)
	e.POST("/announcement", controller.SaveAnnouncement)
	e.PUT("/announcement/:id", controller.UpdateAnnouncement)
	e.DELETE("/announcement/:ids", controller.DeleteAnnouncement)
}
